package com.ht.service.emp.impl;

import com.ht.bean.emp.Education;
import com.ht.util.Pager;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.ht.dao.emp.FamilyinfoMapper;
import com.ht.bean.emp.Familyinfo;
import com.ht.service.emp.FamilyinfoService;

import java.util.List;

/**
 * @author lrq
 * @date 2020/6/22 20:32
 * 
 */
@Service
public class FamilyinfoServiceImpl implements FamilyinfoService{

    @Resource
    private FamilyinfoMapper familyinfoMapper;

    @Override
    public int deleteByPrimaryKey(Integer familyid) {
        return familyinfoMapper.deleteByPrimaryKey(familyid);
    }

    @Override
    public int insert(Familyinfo record) {
        return familyinfoMapper.insert(record);
    }

    @Override
    public int insertSelective(Familyinfo record) {
        return familyinfoMapper.insertSelective(record);
    }

    @Override
    public Familyinfo selectByPrimaryKey(Integer familyid) {
        return familyinfoMapper.selectByPrimaryKey(familyid);
    }

    @Override
    public int updateByPrimaryKeySelective(Familyinfo record) {
        return familyinfoMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(Familyinfo record) {
        return familyinfoMapper.updateByPrimaryKey(record);
    }

    @Override
    public int selCount(Integer seid) {
        return familyinfoMapper.selCount(seid);
    }

    @Override
    public List<Familyinfo> sellist(Pager pager, Integer seid) {
        return familyinfoMapper.sellist(pager,seid);
    }

}
